<?php
$log=false;


if( (trim($_GET["username"]) == "admin" && (trim($_GET["password"]) == "1234")	))
		{
			session_start();
				$_SESSION["loged"]=true;
				$log=true;
				include "./AdminController.php";
		}	
	
if( (trim($_GET["username"]) == "user" && (trim($_GET["password"]) == "1111")	))
		{
			session_start();
				$_SESSION["loged"]=true;
				$log=true;
				include "./ManagerController.php";
		}	
		
if($log==false)
	{
		echo "error";
		//include "../../footballm.php";
	}
?>	